#include<iostream>
using namespace std;
class A
{
public:
    A(int p=10)
        :a(p)
    {}
    void func ()
    {
        cout<<a<<endl;
    }
private:
    int a;
};

int main()
{
    A a(3);
    a.func();
    return 0;
}
